package com.xiaoming.backend.dao.mapper;

import com.xiaoming.backend.entity.db.po.FacilityPO;
import com.xiaoming.backend.entity.db.example.FacilityPOExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface FacilityPOMapper {
    long countByExample(FacilityPOExample example);

    int deleteByExample(FacilityPOExample example);

    int deleteByPrimaryKey(Long facilityId);

    int insert(FacilityPO row);

    int insertSelective(FacilityPO row);

    List<FacilityPO> selectByExampleWithRowbounds(FacilityPOExample example, RowBounds rowBounds);

    List<FacilityPO> selectByExample(FacilityPOExample example);

    FacilityPO selectByPrimaryKey(Long facilityId);

    int updateByExampleSelective(@Param("row") FacilityPO row, @Param("example") FacilityPOExample example);

    int updateByExample(@Param("row") FacilityPO row, @Param("example") FacilityPOExample example);

    int updateByPrimaryKeySelective(FacilityPO row);

    int updateByPrimaryKey(FacilityPO row);
}